package com.ceit.dao;

import com.ceit.model.QuestionmKnowledge;
import com.ceit.model.QuestionmKnowledgeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QuestionmKnowledgeMapper {

    int countByExample(QuestionmKnowledgeExample example);

    int deleteByExample(QuestionmKnowledgeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(QuestionmKnowledge record);

    int insertSelective(QuestionmKnowledge record);

    List<QuestionmKnowledge> selectByExample(QuestionmKnowledgeExample example);

    QuestionmKnowledge selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") QuestionmKnowledge record, @Param("example") QuestionmKnowledgeExample example);

    int updateByExample(@Param("record") QuestionmKnowledge record, @Param("example") QuestionmKnowledgeExample example);

    int updateByPrimaryKeySelective(QuestionmKnowledge record);

    int updateByPrimaryKey(QuestionmKnowledge record);
}